import request from '@/utils/request'

// 查询tccs判断列表
export function listTccs_major_judge(query) {
  return request({
    url: '/tccs/tccs_major_judge/list',
    method: 'get',
    params: query
  })
}

// 查询tccs判断详细
export function getTccs_major_judge(id) {
  return request({
    url: '/tccs/tccs_major_judge/' + id,
    method: 'get'
  })
}

// 新增tccs判断
export function addTccs_major_judge(data) {
  return request({
    url: '/tccs/tccs_major_judge',
    method: 'post',
    data: data
  })
}

// 修改tccs判断
export function updateTccs_major_judge(data) {
  return request({
    url: '/tccs/tccs_major_judge',
    method: 'put',
    data: data
  })
}

// 删除tccs判断
export function delTccs_major_judge(id) {
  return request({
    url: '/tccs/tccs_major_judge/' + id,
    method: 'delete'
  })
}
